package constant

Import Path
	github.com/K-Phoen/grabana/variable/constant (on go.dev)

Dependency Relation
	imports 3 packages, and imported by one package

Involved Source Files constant.go
Package-Level Type Names (total 3)
/* sort by: | */
Constant represents a "constant" templated variable. Builder sdk.TemplateVar func New(name string, options ...Option) *Constant
Option represents an option that can be used to configure a constant. func Default(value string) Option func Hide() Option func HideLabel() Option func Label(label string) Option func Values(values ValuesMap) Option func New(name string, options ...Option) *Constant func github.com/K-Phoen/grabana/dashboard.VariableAsConst(name string, options ...Option) dashboard.Option
ValuesMap represent a "label" to "value" map of options for a constant variable. func Values(values ValuesMap) Option
Package-Level Functions (total 6)
Default sets the default value of the variable.
Hide ensures that the variable will not be displayed.
HideLabel ensures that this variable's label will not be displayed.
Label sets the label of the variable.
New creates a new "constant" templated variable.
Values sets the possible values for the variable.